<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<% String contexts = request.getContextPath();
    pageContext.setAttribute("ctx", contexts);
%>
<html>

<link type="text/css" rel="stylesheet" href="${ctx}/css/login/admin/editAccount.css">
<link rel="stylesheet" href="https://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script type="text/javascript" src="${ctx}/js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="${ctx}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/js/login/admin/editAccount.js"></script>
<body>
<div id="returnList">
    <nav>
        <ul class="pagination">
            <li><a href="${ctx }/listAccount.action">返回用户列表</a></li>
        </ul>
    </nav>

<s:form id="updateAccount" action="updateAccount" namespace="/">
    <div id="div_update">
        <div align="center" id="updateName"><h2>修改用户资料</h2></div>
        <form class="form-horizontal" role="form">
            <div class="form-group" id="div_account">
                <label for="inputAccount" class="col-sm-2 control-label">Account :</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputAccount" name="accountVO.loginAccount"
                           placeholder="Reset your Account" value="${accountVO.loginAccount }">
                </div>
            </div>
            <div class="form-group" id="div_email">
                <label for="inputEmail" class="col-sm-2 control-label">Email :</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmail" name="accountVO.email"
                           value="${accountVO.email }" placeholder="Reset your Email">
                </div>
            </div>
            <div id="eMessage"></div>

            <div class="form-group" id="div_submit">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default" id="div_submit_val">确定</button>
                </div>
            </div>
        </form>
    </div>
</s:form>
</div>
</body>
</html>